package com.huawei.hmf.services.ui.internal;

import android.os.Parcel;
import android.os.Parcelable;
import android.os.Parcelable.Creator;
import o.fjj;
import o.fjk;

public class ReferenceTypeImpl<T> implements fjk<T>, Parcelable {
    public static final Creator<ReferenceTypeImpl> CREATOR = new Creator<ReferenceTypeImpl>() {
        public /* synthetic */ Object createFromParcel(Parcel parcel) {
            return ˏ(parcel);
        }

        public /* synthetic */ Object[] newArray(int i) {
            return ˎ(i);
        }

        public ReferenceTypeImpl ˏ(Parcel parcel) {
            return new ReferenceTypeImpl(parcel);
        }

        public ReferenceTypeImpl[] ˎ(int i) {
            return new ReferenceTypeImpl[i];
        }
    };
    private Long ˋ;
    private transient T ॱ;

    public T ॱ() {
        if (this.ॱ == null) {
            this.ॱ = fjj.ॱ().ˊ(this.ˋ);
        }
        return this.ॱ;
    }

    public void ˎ() {
        fjj.ॱ().ॱ(this.ˋ);
    }

    protected ReferenceTypeImpl(Parcel parcel) {
        this.ˋ = Long.valueOf(parcel.readLong());
    }

    public int describeContents() {
        return 0;
    }

    public void writeToParcel(Parcel parcel, int i) {
        parcel.writeLong(this.ˋ.longValue());
    }
}
